package com.iceclean.po;

/**
 * @author : Ice'Clean
 * @date : 2021-05-01
 *
 * 用户实体类
 */
public class User {

    private Integer userId;
    private String userName;
    private String nickName;
    private String userPass;
    private String userHead;
    private Integer userSex;
    private Integer userRole;
    private String userResume;
    private Integer userFollow;
    private Integer followPostBar;
    private Integer userPostNumber;
    private Integer userPostBarNumber;
    private String userPostBox;
    private String createDate;

    public User() {
        this.userSex = 0;
        this.userRole = 0;
        this.userFollow = 0;
        this.followPostBar = 0;
        this.userPostNumber = 0;
        this.userPostBarNumber = 0;
    }

    public User(String userName, String nickName, String userPass, String userPostBox) {
        this.userName = userName;
        this.nickName = nickName;
        this.userPass = userPass;
        this.userPostBox = userPostBox;
        this.userSex = 0;
        this.userRole = 0;
        this.userFollow = 0;
        this.followPostBar = 0;
        this.userPostNumber = 0;
        this.userPostBarNumber = 0;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public void setUserPass(String userPass) {
        this.userPass = userPass;
    }

    public void setUserHead(String userHead) {
        this.userHead = userHead;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public void setUserRole(Integer userRole) {
        this.userRole = userRole;
    }

    public void setUserResume(String userResume) {
        this.userResume = userResume;
    }

    public void setUserFollow(Integer userFollow) {
        this.userFollow = userFollow;
    }

    public void setFollowPostBar(Integer followPostBar) {
        this.followPostBar = followPostBar;
    }

    public void setUserPostNumber(Integer userPostNumber) {
        this.userPostNumber = userPostNumber;
    }

    public void setUserPostBarNumber(Integer userPostBarNumber) {
        this.userPostBarNumber = userPostBarNumber;
    }

    public void setUserPostBox(String userPostBox) {
        this.userPostBox = userPostBox;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getUserName() {
        return userName;
    }

    public String getNickName() {
        return nickName;
    }

    public String getUserPass() {
        return userPass;
    }

    public String getUserHead() {
        return userHead;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public Integer getUserRole() {
        return userRole;
    }

    public String getUserResume() {
        return userResume;
    }

    public Integer getUserFollow() {
        return userFollow;
    }

    public Integer getFollowPostBar() {
        return followPostBar;
    }

    public Integer getUserPostNumber() {
        return userPostNumber;
    }

    public Integer getUserPostBarNumber() {
        return userPostBarNumber;
    }

    public String getUserPostBox() {
        return userPostBox;
    }

    public String getCreateDate() {
        return createDate;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", nickName='" + nickName + '\'' +
                ", userPass='" + userPass + '\'' +
                ", userHead='" + userHead + '\'' +
                ", userSex=" + userSex +
                ", userRole=" + userRole +
                ", userResume='" + userResume + '\'' +
                ", userFollow=" + userFollow +
                ", createDate='" + createDate + '\'' +
                '}';
    }
}
